import { queryShopCouponList } from '../../api/sysApi/marketing'

class MarketingController {
	static async queryShopCouponList(ctx) {
        console.log('queryShopCouponList++++++', ctx.query, ctx.headers.access_token)
		// ctx.verifyParams({
		// 	MaterialId: { type: 'string', required: true }
		// })
        const res = await queryShopCouponList({
            page_no: 1,
			page_size: 20,
            access_token: ctx.headers.access_token
        })
		ctx.body = res
	}
}


export default MarketingController
